import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

import play.test.*;
import play.db.DB;
import play.jobs.*;
import models.*;

@OnApplicationStart
public class Bootstrap extends Job {
    
	public void doJob() {
    	 if(LatoCatalog.count() == 0) {
//             Fixtures.loadModels("data.yml");   1.2
             Fixtures.load("data.yml");
         }
    }

}